home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of Shareware
/
Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso
/
mac
/
DOS
/
UTILITY
/
EZIP11E
/
EZSET.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-21
|
2KB
|
45 lines
@echo off
cls
if "%1"=="" goto NOINPUT
echo Verify that "%1" is the correct path to the EZIP subdirectory.
echo.
echo Format must be as follows: "EZSET c:\ezip".
echo (Substitute your EZIP path for 'c:\ezip' in the example.)
echo NOTE: No ending backslash or semicolon
echo.
echo (if your EZIP path is INCORRECT, USE ^C to ABORT...)
echo.
pause
echo.
echo Setting new PATH:
set path=%1;%path%
if errorlevel 1 goto ERRHAN
echo The new PATH = %path%
echo.
echo Setting the "EZIPDIR" environment variable to: "%1".
set ezipdir=%1
if errorlevel 1 goto ERRHAN
echo.
echo EZIPDIR is now set to: "%ezipdir%"
goto FINISH
:NOINPUT
cls
echo You MUST specify the subdirectory where you have installed EZIP as part
echo of the command line for EZSET.bat. Example: If your EZIP files were
echo located in C:\EZIP subdirectory, you would type:
echo EZSET C:\EZIP
echo.
echo Please re-run EZSET with the correct path to your EZIP files.
pause
goto FINISH
:ERRHAN
cls
echo ########### Problem setting new path or EZIPDIR variable. ########
echo
echo Check your AUTOEXEC.BAT file for the correct information and format.
echo If it looks OK, you can re-boot to update the PATH or try running this
echo batch file again. Remember, you MUST be at the DOS prompt for this
echo batch file to work properly. If you are inside Norton Commander or PC
echo TOOLS Shell, this file will not properly alter the environment as desired.
:FINISH